/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ucjava.chat.socialnetworking.userinterface;

import com.ucjava.chat.commserve.rmi.common.User;
import java.util.ArrayList;

/**
 *
 * @author Jon
 * this class is only in use until RMI is properly set up and we can use the one from the server
 */
public class FriendsStub implements IFriends {

    public FriendsStub() {
    }
    

    @Override
    public ArrayList<User> setUsers() {

        ArrayList<User> userList = new ArrayList<User>();

        // creates individual User objects
        User alan = new User();
        User andrew = new User();
        User brandan = new User();
        User jond = new User();
        User jonk = new User();
        User martin = new User();
        User max = new User();
        User sagrario = new User();
        User sanju = new User();
        User tony = new User();

        // Set each User's name and add to userList
        alan.setUserName("Alan");
        userList.add(alan);

        andrew.setUserName("Andrew");
        userList.add(andrew);

        brandan.setUserName("Brandan");
        userList.add(brandan);

        jond.setUserName("JonD");
        userList.add(jond);

        jonk.setUserName("JonK");
        userList.add(jonk);

        martin.setUserName("Martin");
        userList.add(martin);

        max.setUserName("Max");
        userList.add(max);

        sagrario.setUserName("Sagrario");
        userList.add(sagrario);

        sanju.setUserName("Sanju");
        userList.add(sanju);

        tony.setUserName("Tony");
        userList.add(tony);

        return userList;
    }
}
